package cn.catsdad.vo;

import cn.catsdad.dto.MenuDTO;
import cn.catsdad.dto.UserDTO;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 登录时返回前端的用户对象
 *
 * @author xuyonglong
 * @version V1.0 2023/4/21
 */
@Data
@Accessors(chain = true)
public class ResponseUser {

    private Long userId;
    private String userName;
    private Long departmentId;
    private String departmentName;
    private List<MenuDTO> menuList;
    private String token;
    private UserDTO user;

}
